﻿{% extends "gma/base.html" %}

<!-- CONTENT
  =====================================================================-->

{% block content %}

<div class="page__hd">
    <h1 class="page__title">
        <i class="fa fa-plus-square weui_grid_icon_fa" style="font-size: 32px"> </i> 创建公会
    </h1>
    <p class="page__desc"> 公会名称不可以重复 </p>
    <p class="page__desc"> 一个用户只能成为一个公会的会长 </p>
</div>


<div class="page__bd">
    <div class="weui-cells__title">公会名称</div>
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" id="guild_name" placeholder="请输入公会名称">
            </div>
        </div>
    </div>

    <div class="weui-cells__title">会长UID</div>
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" id="chief_uid" placeholder="请输入会长的uid">
            </div>
        </div>
    </div>
</div>

<div class="weui-btn-area">
    <a class="weui-btn weui-btn_block weui-btn_primary" href="javascript:create_guild('{% url 'gma:api_create_guild' %}', '{% url 'gma:guild' %}')">
        创建公会
    </a>
</div>

<div class="page__ft j_bottom">
    <a href="{% url 'gma:home' %}">
        <span class="bottom-logo">
           HiBao
       </span>
    </a>
</div>

{% endblock content %}


<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}
{% endblock extra_js %}